package com.ftg.learn.pattern.prototype;

import lombok.Data;

/**
 * @author kangjx
 * @createTime 2022/8/9
 */
@Data
public class Shape implements Cloneable{

    //继承  --> 加载流程


    public Shape(){
        System.out.println("Shape Shape 构造 方法 ");
    }


    private int id;

    private String type;

    @Override
    public Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
